ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / CreatePolygonRegion Method / CreatePolygonRegion(Point[]) Method
A System.Drawing.Point array that defines the vertices of the polygon.

In This Topic
    CreatePolygonRegion(Point[]) Method
    In This Topic
    Create a polygons region from the point array which defines the vertices of the polygon.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreatePolygonRegion( _
       ByVal polygonPoints() As Point _
    ) As Region
    public static Region CreatePolygonRegion( 
       Point[] polygonPoints
    )

    Parameters

    polygonPoints
    A System.Drawing.Point array that defines the vertices of the polygon.
    Remarks
    This method creates a new Region object with a polygon interior interior. The interior is defined by the polygonPoints parameter.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also